<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>

    <link href="/styles/base.css" rel="stylesheet" type="text/css">
    <link href="/styles/travelspot.css" rel="stylesheet" type="text/css">
    <link href="/styles/select.css" rel="stylesheet" type="text/css">

    <link href="/js/plugins/jqPaginator/jqPagination.css" rel="stylesheet" type="text/css">
    <link href="/styles/scenic.css" rel="stylesheet" type="text/css">

    <script type="text/javascript" src="/js/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="/js/plugins/jqPaginator/jq-paginator.min.js"></script>

    <script type="text/javascript" src="/js/plugins/jquery-form/jquery.form.js"></script>
    <script type="text/javascript" src="/js/system/guide.js"></script>

    <script>
        $(function () {
            // 显示查询
            $("#searchScenicThemeClassifyForm").ajaxForm(function (data) {
                $("#scenicClassifyTpl").html(data);
            });
            $("#searchScenicThemeClassifyForm").submit();


            // 标签的点击样式
            $("#_lhp_scenic_theme").on('click', 'li', function () {
                $("#_lhp_scenic_theme li").removeClass('on');
                $(this).addClass('on');
            });
            // 点击标签, 执行评论的单条件查询
            $("#_lhp_scenic_theme").on('click', 'li', function () {
                // 获取该点击li元素的属性值
                var themeId = $(this).data("themeid");
                var destId = $(this).data("destid");
                // 设置到form表单的input中, 传给后台
                $("#scenicThemeId").val(themeId);
                $("#scenicDestId").val(destId);
                // 发送加载评论的异步请求并显示
                $("#searchScenicThemeClassifyForm").ajaxForm(function (data) {
                    $("#scenicClassifyTpl").html(data);
                });
                $("#searchScenicThemeClassifyForm").submit();
            });
        })
    </script>
</head>

<body>
<#assign currentNav="scenic">
<#include "../common/navbar.ftl">
<div id="container">
<#---->
    <div class="row row-placeTop row-bg">
        <div class="wrapper">
            <div class="extra">
                <div class="action">
                    <a class="btn-collect" href="javascript:void(0)" _iswg="0" _mddid="14674" data-act="want_go"
                       class="icon"></i>收藏</a>
                    <a class="btn-been" href="javascript:void(0)" _ispa="0" _mddid="14674" data-act="set_path"><i
                            class="icon"></i>去过</a>
                </div>
            </div>
            <#--吐司-->
            <div class="crumb">
                <div class="item"><a href="/destination">目的地</a><em>&gt;</em></div>
            <#list toasts as t>
                <div class="item">
                    <div class="drop">
                        <span class="hd"><a href="javascript:;" target="_blank">${(t.name)!}<i></i></a></span>
                    </div>
                    <em>&gt;</em>
                </div>
            </#list>
                <div class="item cur"><strong>${dest.name}景点</strong></div>
            </div>




            <div class="title" style="position: relative;">
                <a class="num-photo" href="javascript:;" target="_blank">${dest.name}</a>
                <br>
            </div>
            <div class="place-navbar" style="border-top: 0;">
                <div class="navbar-con">
                    <ul class="navbar clearfix navbar-first-level-warper">
                        <li class="navbar-overview city-guide">
                            <a class="navbar-btn" href="javascript:;">
                                <i class="navbar-icon"></i><span>概况</span>
                            </a>
                        </li>
                        <li class="navbar-line">
                            <a class="navbar-btn" href="#travel">
                                <i class="navbar-icon"></i><span>游记</span>
                            </a>
                        </li>
                        <li class="navbar-line">
                            <a class="navbar-btn navbar-local" href="#strategy">
                                <i class="navbar-icon"></i><span>攻略</span>
                            </a>
                        </li>
                        <li class="navbar-scenic">
                            <a class="navbar-btn" href="#scenic" data-cs-p="景点">
                                <i class="navbar-icon"></i><span>景点</span>
                            </a>
                        </li>
                        <li class="navbar-line">
                            <a class="navbar-btn navbar-sales" href="javascript:;">
                                <i class="navbar-icon"></i><span>跟团游</span>
                            </a>
                        </li>
                    </ul>
                    <div class="overview-drop hide" style="height: auto; overflow: hidden;">
                        <div class="drop-bd">

                        <#list catalogs! as c>
                            <dl class="clearfix">
                                <dt><a href="/destination/surveyPage?destId=${dest.id!}&catalogId=${c.id}"
                                       target="_blank">${c.name!}</a></dt>
                                <dd>
                                    <#list c.details as d>
                                        <a href="/destination/surveyPage?destId=${dest.id!}"
                                           target="_blank">${d.title}</a><span>|</span>
                                    </#list>
                                </dd>
                            </dl>
                        </#list>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<#--地区景点总介绍-->
    <div class="row row-summary row-bg">
        <div class="wrapper">
            <h2 class="title">景点概况</h2>
            <div>
                <span id="mdd_poi_desc">这个城市没有冬天，没有寒冷，永远都是那么暖意洋洋，永远都是那么热火朝天；这个城市的每一条街道，都灯火辉煌，明亮耀眼；广州大多数景点都需要1天的时间来游览，最有特色是有着异域风情的沙面和拥有130多年历史的石室圣心大教堂。另外陈家祠、现代化建筑广州塔和已有2100多年历史的南越王墓也是值得一看的地方。</span>
            </div>
        </div>
    </div>
<#--TOP5推荐-->
    <div class="row row-top5" data-cs-p="必游景点">
        <div class="wrapper">
            <h2 class="title">必游景点TOP5</h2>
        <#--单个-->
        <#list top5 as t>
            <div class="item clearfix">
                <div class="info">
                    <div class="middle">
                        <h3>
                            <span class="num">${t_index + 1}</span>
                            <a href="/scenic/detail?id=${t.id}" target="_blank" title="${t.name}">${t.name}</a>
                            <a href="/scenic/detail?id=${t.id}" target="_blank" title="${t.name}">
                                <span class="rev-total"><em>${t.commentnum}</em> 条点评</span>
                            </a>
                        </h3>
                        <p>${t.summary}</p>
                    </div>
                </div>
                <div class="pic">
                    <a href="/scenic/detail?id=${t.id}" target="_blank" title="${t.name}">
                        <div class="large">
                            <img src="${t.photoUrl[0]}" width="380" height="270">
                        </div>
                        <div>
                            <img src="${t.photoUrl[1]}" width="185" height="130">
                        </div>
                        <div>
                            <img src="${t.photoUrl[2]}" width="185" height="130">
                        </div>
                    </a>
                </div>
            </div>
        </#list>
        </div>
    </div>
<#--热门推荐-->
    <div class="row row-hotScenic row-bg" data-cs-p="热门景点">
        <div class="wrapper">
            <h2 class="title">热门景点</h2>
            <div class="bd">
            <#list hotCommend as hot>
                <#if hot_index == 0>
                    <div class="grid grid-two">
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}" width="485" height="320">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>

                    </div>
                </#if>
                <#if hot_index == 1 || hot_index == 2>
                    <#if hot_index == 1>
                    <div class="grid">
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}" width="242" height="155">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary!}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </#if>
                    <#if hot_index == 2>
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}" width="242" height="155">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary!}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </#if>
                    <#if hot_index == 2>
                    </div>
                    </#if>
                </#if>
                <#if hot_index == 3 || hot_index == 4>
                    <#if hot_index == 3>
                    <div class="grid">
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}"
                                     width="242" height="155">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary!}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </#if>
                    <#if hot_index == 4>
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}"
                                     width="242" height="155">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary!}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </#if>
                    <#if hot_index == 4>
                    </div>
                    </#if>
                </#if>
                <#if hot_index == 5 || hot_index == 6>
                    <#if hot_index == 5>
                    <div class="grid">
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}"
                                     width="242" height="155">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary!}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </#if>
                    <#if hot_index == 6>
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}"
                                     width="242" height="155">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary!}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </#if>
                    <#if hot_index == 6>
                    </div>
                    </#if>
                </#if>
                <#if hot_index == 7>
                    <div class="grid grid-two">
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}"
                                     width="485" height="320">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary!}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>

                    </div>
                </#if>
                <#if hot_index == 8 || hot_index == 9>
                    <#if hot_index == 8>
                    <div class="grid">
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}"
                                     width="242" height="155">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary!}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </#if>
                    <#if hot_index == 9>
                        <div class="figure">
                            <a href="/scenic/detail?id=${hot.id}" target="_blank" title="${hot.name}">
                                <img src="${hot.photoUrl[0]}"
                                     width="242" height="155">
                                <h3 class="title">${hot.name}</h3>
                                <div class="mask-container">
                                    <div class="mask">
                                        <div class="middle">
                                            <h3>${hot.name}</h3>
                                            <p>${hot.summary!}</p>
                                        </div>
                                    </div>
                                </div>
                            </a>
                        </div>
                    </#if>
                    <#if hot_index == 9>
                    </div>
                    </#if>
                </#if>
            </#list>
            </div>
        </div>
    </div>
<#--全部景点-->
    <div class="row row-allScenic" data-cs-p="全部景点">
        <div class="wrapper">
            <h2 class="title">
                广州全部景点
            </h2>


            <ul class="nav clearfix" id="_lhp_scenic_theme">
                <#list scenicTheme! as st>
                    <#if st_index == 0>
                    <li class="on" data-themeid="-1" data-destid="${st.destId}"><a title="全部景点" >全部景点</a></li>
                    </#if>
                <li class="" data-themeid="${st.id}" data-destid="${st.destId}"><a title="周边古村落">${st.name}</a></li>
                </#list>
            </ul>
            <div class="bd">
                <#--查询出的内容-->
                <form id="searchScenicThemeClassifyForm" action="/scenic/scenicthemeclassify" method="post">
                    <input type="hidden" name="currentPage" id="currentPage" value="1">
                    <input type="hidden" name="scenicThemeId" id="scenicThemeId" value="-1">
                    <input type="hidden" name="destId" id="scenicDestId" value="-1">
                    <div class="com-box " id="scenicClassifyTpl">
                    <#--template中的内容-->
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<#include "../common/footer.ftl">
</body>
